#include "IQHello.h"

class IQHelloImpl : public IQHello {
public:
    std::string getHello() override {
        return "Hello, World!(Qt)";
    }
};

extern "C" {
    IQImplType impl_t() {
        return IQ_IMPL_CPP;
    }

    DECLARE_CREATE_FUNC(IQHello) {
        return (new IQHelloImpl());
    }

    DECLARE_DELETE_FUNC(IQHello) {
        delete ptr;
    }
}

// g++ -shared -fPIC MathPlugin.cpp -o libmath.so
